package com.julang.check.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @author 赵自强
 * */
public class ResponseEntity {
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel(value = "LoginResponse", description = "登录后返回的数据")
	public static class LoginResponse {
		@ApiModelProperty(value = "用户名")
		private String nickname;
		@ApiModelProperty(value = "积分")
		private float jifen;
		@ApiModelProperty(value = "用户登录token")
		private String token;
	}

	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@ApiModel(value = "WordReplaceResult", description = "重复句替换后的结果")
	public static class WordReplaceResult {
		@ApiModelProperty(value = "原句", required = true)
		private String originSentence;
		@ApiModelProperty(value = "替换后的语句", required = true)
		private String replaceSentence;
		@ApiModelProperty(value = "重复的词语", required = true)
		private String repeatWords;
	}
}
